import Vue from "vue";
import Vuex from "vuex";
import user from "./modules/user";
import goods from "@/store/modules/goods";
import cart from "@/store/modules/cart";
Vue.use(Vuex);

export default new Vuex.Store({
	modules:{
		// 用户模块
		user,
		// 商品模块
		goods,
		// 购物车模块
		cart
	}
});
